jQuery("#SliderSingle").slider({ 
	from: 1, 
	to: 7, 
	step: 1, 
	value: 1,
	round: 1, 
	dimension: '', 
  	scale: ['1&nbsp;GHz', '2&nbsp;GHz', '3&nbsp;GHz', '4&nbsp;GHz', '6&nbsp;GHz', '8&nbsp;GHz', '10&nbsp;GHz'],
	skin: "round",
	onstatechange: calcPriceUpdate
	});
 
jQuery("#SliderSingle2").slider({ 
	from: 1, 
	to: 8, 
	step: 1, 
	value: 1,
	round: 1, 
	dimension: '', 
	scale: ['1&nbsp;GB', '2&nbsp;GB', '4&nbsp;GB', '8&nbsp;GB', '16&nbsp;GB', '32&nbsp;GB', '64&nbsp;GB', '96&nbsp;GB'], 
	skin: "round",
	onstatechange: calcPriceUpdate });


jQuery("#SliderSingle3").slider({ 
	from: 1, 
	to: 5, 
	step: 1, 
	value: 1,
	round: 1, 
	dimension: '', 
	scale: ['1&nbsp;г.', '2&nbsp;г.', '3&nbsp;г.', '4&nbsp;г.', '5&nbsp;г.'], 
	skin: "round" ,
	onstatechange: calcPriceUpdate
	});
	
function calcPriceUpdate() {
	price = ( parseInt($("#SliderSingle").attr("value")) * 9 + parseInt($("#SliderSingle2").attr("value")) * 9 ) / 
		 ( parseInt($("#SliderSingle3").attr("value")) * 1.1)  ;
	
	$("#finalPrice").html( parseInt(price) );
}
